package cn.sciento.transfer.infra.liquibase.parser.data;

import org.apache.commons.lang3.builder.ToStringBuilder;

public class DatabaseChangeLogFileData {
  private String fileName;
  
  private String fileContent;
  
  private DatabaseChangeLogFileExt fileParserExt;
  
  public DatabaseChangeLogFileData() {}
  
  public DatabaseChangeLogFileData(String fileName, String fileContent, DatabaseChangeLogFileExt fileParserExt) {
    this.fileName = fileName;
    this.fileContent = fileContent;
    this.fileParserExt = fileParserExt;
  }
  
  public String getFileName() {
    return this.fileName;
  }
  
  public DatabaseChangeLogFileData setFileName(String fileName) {
    this.fileName = fileName;
    return this;
  }
  
  public String getFileContent() {
    return this.fileContent;
  }
  
  public DatabaseChangeLogFileData setFileContent(String fileContent) {
    this.fileContent = fileContent;
    return this;
  }
  
  public DatabaseChangeLogFileExt getFileParserExt() {
    return this.fileParserExt;
  }
  
  public DatabaseChangeLogFileData setFileParserExt(DatabaseChangeLogFileExt fileParserExt) {
    this.fileParserExt = fileParserExt;
    return this;
  }
  
  public String toString() {
    return (new ToStringBuilder(this))
      .append("fileName", this.fileName)
      .append("fileContent", this.fileContent)
      .append("fileParserExt", this.fileParserExt)
      .toString();
  }
}
